using System;
using System.Collections;
using System.Runtime.InteropServices;
namespace BMC.ARSystem
{
	[ClassInterface, Guid("74af8c21-179c-4923-ac00-46ace5e28f2f"), ProgId("BMC.ARSystem.MenuItem")]
	public class MenuItem
	{
		[Guid("1275b18b-b4a4-40ba-897f-09fc058dd2ba")]
		public enum MenuType
		{
			None,
			Value,
			Menu
		}
		private MenuItem.MenuType _type;
		private string _label;
		private string _value;
		private ArrayList _subMenu;
		public string Label
		{
			get
			{
				return this._label;
			}
		}
		public string Value
		{
			get
			{
				return this._value;
			}
		}
		public ArrayList SubMenu
		{
			get
			{
				return this._subMenu;
			}
		}
		public MenuItem.MenuType Type
		{
			get
			{
				return this._type;
			}
		}
		internal MenuItem(string label, string val)
		{
			this._type = MenuItem.MenuType.Value;
			this._label = label;
			this._value = val;
		}
		internal MenuItem(string label, ArrayList subMenu)
		{
			this._type = MenuItem.MenuType.Menu;
			this._label = label;
			this._subMenu = subMenu;
		}
	}
}
